﻿package {
	public class Test {
	}
}

function assert_string(val) {
	var num_val : String = val;
	
	trace(num_val);
}

trace("//1.2315e-8");
assert_string(1.2315e-8);

trace("//1.2315e-7");
assert_string(1.2315e-7);

trace("//1.2315e-6");
assert_string(1.2315e-6);

trace("//1.2315e2");
assert_string(1.2315e2);

trace("//1.2315e19");
assert_string(1.2315e19);

trace("//1.2315e20");
assert_string(1.2315e20);

trace("//1.2315e21");
assert_string(1.2315e21);

trace("//1.2315987654321987654321987654321987654321987654321987654321e-8");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e-8);

trace("//1.2315987654321987654321987654321987654321987654321987654321e-7");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e-7);

trace("//1.2315987654321987654321987654321987654321987654321987654321e-6");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e-6);

trace("//1.2315987654321987654321987654321987654321987654321987654321e2");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e2);

trace("//1.2315987654321987654321987654321987654321987654321987654321e19");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e19);

trace("//1.2315987654321987654321987654321987654321987654321987654321e20");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e20);

trace("//1.2315987654321987654321987654321987654321987654321987654321e21");
assert_string(1.2315987654321987654321987654321987654321987654321987654321e21);